@layout("/common/container.html", {"title" : "代码生成示例"}){
<form class="e-form">
    <div class="card">
        <#card:head title="代码生成示例" icon="la la-bars"/>
        <div class="card-body">
            <div class="row">
                <!-- str:表单区域 -->
                <input type="hidden" id="id" name="id" value="${object.id}" />
                <div class="col-lg-6 col-12">
                    <#form:input id="name" name="姓名" value="${object.name}" />
                </div>
                <div class="col-lg-6 col-12">
                    <#form:select class="select-picker" id="sex" name="性别" value="${object.sex}" />
                </div>
                <div class="col-lg-6 col-12">
                    <#form:input id="phone" name="手机号码" value="${object.phone}" />
                </div>
                <div class="col-lg-6 col-12">
                    <#form:select class="select-picker" id="status" name="状态" value="${object.status}" />
                </div>
                <div class="col-lg-6 col-12">
                    <#form:input type="number"  id="age" name="年龄" value="${object.age}" />
                </div>
                <div class="col-12">
                    <#form:input id="address" name="地址" value="${object.address}" />
                </div>
                <!-- end:表单区域 -->
            </div>
        </div>
        <div class="card-foot">
            <div class="e-form-actions text-center">
                <#btn:save permission="sample:general:save"/>
            </div>
        </div>
    </div>
</form>
<!--begin::页面脚本 -->
<#script src="static/modular/sample/general/input.js" />
<!--end::页面脚本 -->
@}